<template>
	<view class="box">
		<view class="top">
			<uni-nav-bar  :border="false" left-text="返回" left-icon="left" title="报修记录" @clickLeft='back'/>
			</view>
			<view class="repairRecordingtop">
				<view class="topson true">
					未处理
				</view>
				<view class="topson">
					已处理
				</view>
				<view class="topson">
					全部
				</view>
			</view>
			<view class="contentbox">
				<view class="content" @click="go">
					<view class="contentson">
						<view class="content1">
							公共区域有人随意占用，请物管及时.家里墙体有裂缝，请物管及时排工人...
						</view>
						<view class="content2">
							<view>
								<image src="/static/image/baoxiu-jilu.jpg" mode=""></image>
								<!-- <image src="/image//static/image/baoxiu-jilu.jpg" mode=""></image> -->
							</view>
							<view>
								<image src="/static/image/baoxiu-jilu.jpg" mode=""></image>
							</view>
							<view>
								<image src="/static/image/baoxiu-jilu.jpg" mode=""></image>
							</view>
						</view>
						<view class="content3">
							<view>
								清水湾1号楼1单元2208
							</view>
							<view>
								水管漏水
							</view>
						</view>
						<view class="content4">
							<view class="left">
								2021-10-20 10：20
							</view>
							<view class="right">
								<view class="btnl">
									未处理
								</view>
								<view class="btnr">
									撤销
								</view>
							</view>
						</view>
					</view>
				</view>
				<view class="content">
					<view class="contentson">
						<view class="content1">
							公共区域有人随意占用，请物管及时.家里墙体有裂缝，请物管及时排工人...
						</view>
						<view class="content2">
							<view>
								<image src="/static/image//static/image/baoxiu-jilu.jpg" mode=""></image>
							</view>
							<view>
								<image src="/static/image//static/image/baoxiu-jilu.jpg" mode=""></image>
							</view>
							<view>
								<image src="/static/image//static/image/baoxiu-jilu.jpg" mode=""></image>
							</view>
						</view>
						<view class="content3">
							<view>
								清水湾1号楼1单元2208
							</view>
							<view>
								水管漏水
							</view>
						</view>
						<view class="content4">
							<view class="left">
								2021-10-20 10：20
							</view>
							<view class="right">
								<view class="btnl">
									未处理
								</view>
								<view class="btnr">
									撤销
								</view>
							</view>
						</view>
					</view>
				</view>
				<view class="content">
					<view class="contentson">
						<view class="content1">
							公共区域有人随意占用，请物管及时.家里墙体有裂缝，请物管及时排工人...
						</view>
						<view class="content2">
							<view>
								<image src="/static/image//static/image/baoxiu-jilu.jpg" mode=""></image>
							</view>
							<view>
								<image src="/static/image//static/image/baoxiu-jilu.jpg" mode=""></image>
							</view>
							<view>
								<image src="/static/image//static/image/baoxiu-jilu.jpg" mode=""></image>
							</view>
						</view>
						<view class="content3">
							<view>
								清水湾1号楼1单元2208
							</view>
							<view>
								水管漏水
							</view>
						</view>
						<view class="content4">
							<view class="left">
								2021-10-20 10：20
							</view>
							<view class="right">
								<view class="btnl">
									未处理
								</view>
								<view class="btnr">
									撤销
								</view>
							</view>
						</view>
					</view>
				</view>
			</view>
		
		</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			go() {
				uni.navigateTo({
					url: '/pages/issueDetail/issueDetail'
				})
			},
			back(){
				uni.navigateBack({
					delta:1
				})
			}
		}
	}
</script>

<style lang="less">
	.box {
		width: 100%;
		height: 100%;
		background-color: #f0f0f0;

		.repairRecordingtop {
			width: 100%;
			height: 87rpx;
			background-color: #fff;
			display: flex;
			justify-content: space-around;
			background-color: #fff;

			.topson {
				line-height: 87rpx;
			}

			.true {
				color: #0080fe;
			}
		}

		.contentbox {
			width: 100%;
			height: 100%;
			display: flex;
			flex-direction: column;
			align-items: center;

			.content {
				width: 729rpx;
				height: 517rpx;
				background-color: #fff;
				border-radius: 8rpx;
				margin-top: 23rpx;

				.contentson {
					width: 684rpx;
					height: 464rpx;
					margin-top: 53rpx;
					margin-left: 45rpx;

					.content1 {
						width: 620rpx;
						height: 86rpx;
						line-height: 43rpx;
						font-size: 25rpx;
					}

					.content2 {
						width: 627rpx;
						height: 156rpx;
						// background-color: blue;
						margin-top: 20rpx;
						display: flex;
						justify-content: space-between;

						view {
							width: 185rpx;
							height: 100%;

							image {
								width: 100%;
								height: 100%;
							}
						}
					}

					.content3 {
						width: 640rpx;
						height: 78rpx;
						border-bottom: 2rpx solid #efefef;
						margin-top: 21rpx;
						line-height: 78rpx;
						font-size: 22rpx;
						display: flex;
						justify-content: space-between;
						color: #666666;
					}

					.content4 {
						width: 684rpx;
						height: 101rpx;
						display: flex;
						justify-content: space-between;

						.left {
							width: 367rpx;
							height: 77rpx;
							line-height: 77rpx;
							font-size: 19rpx;
						}

						.right {
							width: 286rpx;
							height: 77rpx;
							display: flex;

							.btnl {
								width: 125rpx;
								height: 48rpx;
								border: 2rpx solid #a3a5a8;
								line-height: 48rpx;
								text-align: center;
								font-size: 25rpx;
								margin-top: 20rpx;
								margin-right: 28rpx;
								border-radius: 11rpx;
							}

							.btnr {
								width: 129rpx;
								height: 50rpx;
								background-color: #00a2f1;
								margin-top: 19rpx;
								line-height: 50rpx;
								text-align: center;
								border-radius: 11rpx;
								color: #fff;
								font-size: 25rpx;
							}
						}
					}
				}
			}
		}
	}
</style>